<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class KeySeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            [
                'id'=>1,
                'auth_code'=> '144090060',
                'key'=>'weChatPwd',
                'value'=>'144090060Hyk',
                'comment'=>'微信公众平台登录密码'
            ],
            [
                'id'=>2,
                'auth_code'=> '144090060',
                'key'=>'AppID',
                'value'=>'wx1c97eb5d35399ccb',
                'comment'=>'小程序ID'
            ],
            [
                'id'=>3,
                'auth_code'=> '144090060',
                'key'=>'AppSecret',
                'value'=>'aad77c2fb9bcc9b027340950ec65d4f5',
                'comment'=>'小程序秘钥'
            ],
            [
                'id'=>4,
                'auth_code'=> '144090060',
                'key'=>'mailBoxPwd',
                'value'=>'144090060Hyk',
                'comment'=>'邮箱密码'
            ],
            [
                'id'=>5,
                'auth_code'=> '144090060',
                'key'=>'dbRootPwd',
                'value'=>'144090060',
                'comment'=>'数据库root密码'
            ],
            [
                'id'=>6,
                'auth_code'=> '144090060',
                'key'=>'QiniuAcc',
                'value'=>'675666296@qq.com',
                'comment'=>'七牛云账号'
            ],
            [
                'id'=>7,
                'auth_code'=> '144090060',
                'key'=>'QiniuPwd',
                'value'=>'144090060hyk',
                'comment'=>'七牛云密码'
            ],
        ];

        DB::table('keys')->insert($data);
    }
}
